package static05;
/*
    甲程序员写的圆的代码，圆周率PI=3.1415926
 */
public class Circle {
    private double r;

    public Circle(double r) {
        this.r=r;
    }

    public double getArea() {
        //return 3.1415926*r*r;
        return Constant.PI*r*r;
    }
}
